package org.springblade.modules.policy.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;

@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class MatMatterImportExcel implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 企业名称
	 */
	@ExcelProperty(value = "企业名称")
	private String enterpriseName;
	/**
	 * 统一社会信用代码
	 */
	@ExcelProperty(value = "统一社会信用代码")
	private String enterpriseCode;
	/**
	 * 开户行
	 */
	@ExcelProperty(value = "开户行")
	private String bankName;
	/**
	 * 对公银行账号
	 */
	@ExcelProperty(value = "对公银行账号")
	private String bankCode;
	/**
	 * 本次办件总金额
	 */
	@ExcelProperty("申请兑现金额（元）")
	private Double appliedCashAmount;

	public static MatMatterImportExcel getExcelExample() {
		MatMatterImportExcel matMatterImportExcel=new MatMatterImportExcel();
		matMatterImportExcel.setEnterpriseName("湖北科技学院");
		matMatterImportExcel.setEnterpriseCode("123456789xxxxxxxxxxx");
		matMatterImportExcel.setBankName("农业银行市民之家支行");
		matMatterImportExcel.setBankCode("123456789xxxxxxxxxx");
		matMatterImportExcel.setAppliedCashAmount(100000.01d);
		return matMatterImportExcel;
	}
}
